package com.chenyongjing.design.pattern.strategy.general;

public class Context{
    private  IStrategy mStrategy;

    public Context(IStrategy strategy) {
        this.mStrategy = strategy;
    }

    public void algorithm(){
        this.mStrategy.algorithm();
    }
}
